//
//  YearMonthDataPickview.h
//  PropertyManager
//
//  Created by 楠 on 2018/10/21.
//  Copyright © 2018年 Tng. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void(^sendYearMonthDay)(NSString * year,NSString *month);

@interface YearMonthDataPickview : UIView <UIPickerViewDataSource,UIPickerViewDelegate>

@property (nonatomic,strong) UIView * bgView;

@property (nonatomic,strong) UIPickerView * pickview;
@property (nonatomic,strong) NSArray * yearDataArr;
@property (nonatomic,strong) NSArray * mouthDataArr;

@property (nonatomic,strong) UIButton * cancleBtn;
@property (nonatomic,strong) UIButton * sureBtn;

@property (nonatomic,copy) sendYearMonthDay sendYearMonthDayBlcok;

+(instancetype)shareView;
-(void)showView;
-(void)hiddenView;

@end

NS_ASSUME_NONNULL_END
